using System;

namespace Sustainalytics.ESGRatings.BusinessLogic.Computing.Exceptions
{
    /// <summary>
    /// Thrown when matrix not found in set
    /// </summary>
    public class UnknownMatrixException : ComputeException
    {
        public UnknownMatrixException(Guid matrixId)
        {
            MatrixId = matrixId;
        }

        public Guid MatrixId { get; set; }

        public override string Message
        {
            get
            {
                return string.Format("Unknown matrix: {0}.", MatrixId);
            }
        }
    }
}